Java ee - Interview Questions and Answers for 'Hcl tech' | Search Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com

Search Interview Questions


 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Java ee - Interview Questions and Answers for 'Hcl tech' - 3 question(s) found - Order By Newest

Frequently asked. Among first few questions in the J2EE segment of interview.
  Q1. What is deployment descriptor ?

or

What is the use of deployment descriptor ?
Java EE
Ans. Deployment Descriptor which is usually web.xml is used to specify the classes, resources and configuration of the application and how the web server uses them to serve web requests.This file is usually added to WEB-INF folder and contains following

* Servlet entries and url mapping
* Plugins
* Some info regarding authentication / filters
* Landing Page
* Event Handlers

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     web.xml   servlets  deployment descriptor     Asked in 15 Companies      basic        frequent

Try 1 Question(s) Test


Related Questions

 Which of the following file is called deployment descriptor ?

a. application.xml
b. project.xml
c. web.xml
d. build.xml
  Can we have multiple servlets in a web application and How can we do that ?
 Is there any relationship between Web.xml and Spring.xml ?
 What is the difference between filter and filter-mappings xml tag within deployment descriptor ?


  Q2. Difference between jar , war and ear ?Java EE
Ans. Jar is Java Archieve i.e compressed Class or Class / Java files.

War comprises of compressed Servlet class files,JSP FIles,supporting files, GIF and HTML files.

Ear comprise of compressed Java and web module files ( was files ).

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     java   j2ee   jar   web development   war   ear   build management   release management     Asked in 12 Companies      basic        frequent


Related Questions

  Can we generate Java Documentation using Export -> JavaDoc using a jar file ?
  How can I change the default location of the generated jar when I command "mvn package"?
  What would you do if you have to add a jar to the project using Maven ?
 If you are given a choice to have a functionality shared either through dependency or through a Web service, which one will you choose ?
 Given 2 jars of 5 ltr and 3 ltr, how will you get 4 ltrs in one of those jars ?
 Can we deploy an application to server using a jar file ?
 What is Jar ?
 If you are given a Jar file , How can you go through it understand what it does
 Why do we have multiple core java jars in java 9 ?


  Q3. What is a cookie ?Java EE
Ans. A cookie is a small piece of text stored on a user's computer by the browser for a specific domain. Commonly used for authentication, storing site preferences, and server session identification.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     cookie   javascript   web application   session management   browser   j2ee     Asked in 16 Companies      basic        frequent


Related Questions

  What is session tracking and how do you track a user session in servlets?
  what is the use of cookie and session ? and What is the difference between them ?
  What are different types of cookies ?
  Why using cookie to store session info is a better idea than just using session info in the request ?
  http protocol is by default ... ?
 How cookies helps by storing encrypted passwords ?
 Is it front end code or the back end code , that drops the cookies ?
 How can we drop cookies through back end code ? Does it transfer the cookie file to the client ?
 What is SameSite cookie attribute ?



Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: